package com.paul.exception;

/**
 * Created by yangjianbo on 2016/3/7.
 */
public class BusinessException extends RuntimeException   {
    private static final long serialVersionUID = -4321842465818992079L;
    private String errCode;
    private String errMsg;

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public BusinessException(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
